Deprecated Classes in jdk 1.5
- javax.accessibility.AccessibleResourceBundle
This class is deprecated as of version 1.3 of the Java 2 Platform.
- org.xml.sax.helpers.AttributeListImpl
This class implements a deprecated interface, AttributeList; that interface has
been replaced by Attributes, which is implemented in the AttributesImpl helper
class.
- javax.management.DefaultLoaderRepository
Use MBeanServer.getClassLoaderRepository() instead.
- javax.management.loading.DefaultLoaderRepository
Use MBeanServer.getClassLoaderRepository()} instead.
- javax.swing.text.DefaultTextUI
- org.omg.CORBA.DynamicImplementation
- org.xml.sax.HandlerBase
This class works with the deprecated DocumentHandler interface. It has been
replaced by the SAX2 DefaultHandler class.
- java.security.Identity
This class is no longer used. Its functionality has been replaced by
java.security.KeyStore, the java.security.cert package, and
java.security.Principal.
- java.security.IdentityScope
This class is no longer used. Its functionality has been replaced by
java.security.KeyStore, the java.security.cert package, and
java.security.Principal.
- java.io.LineNumberInputStream
This class incorrectly assumes that bytes adequately represent characters. As of
JDK 1.1, the preferred way to operate on character streams is via the new
character-stream classes, which include a class for counting line numbers.
- java.rmi.server.LogStream
no replacement
- javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup
As of Java 2 platform v1.4.
- java.rmi.server.Operation
no replacement
- org.xml.sax.helpers.ParserFactory
This class works with the deprecated Parser interface.
- javax.security.auth.Policy
JDK version 1.4
- Replaced by java.security.Policy. java.security.Policy
has a method:
public PermissionCollection getPermissions
(java.security.ProtectionDomain pd)
and ProtectionDomain has a constructor:
public ProtectionDomain
(CodeSource cs,
PermissionCollection permissions,
ClassLoader loader,
Principal[] principals)
These two APIs provide callers the means to query the Policy for Principal-based
Permission entries.
- org.omg.CORBA.Principal
Deprecated by CORBA 2.2.
- org.omg.CORBA.PrincipalHolder
Deprecated by CORBA 2.2.
- java.security.Signer
This class is no longer used. Its functionality has been replaced by
java.security.KeyStore, the java.security.cert package, and
java.security.Principal.
- java.io.StringBufferInputStream
This class does not properly convert characters into bytes. As of JDK 1.1, the
preferred way to create a stream from a string is via the StringReader class.
- javax.swing.text.TableView.TableCell
A table cell can now be any View implementation.
- javax.management.timer.TimerAlarmClockNotification
This class is of no use to user code. It is retained purely for compatibility
reasons.